/**
 * @(#)NetworkTypeEnum.java 2017年01月11日
 * Copyright(C) 2016 ZHEXIN IT CO.,LTD. All rights reserved.
 */
package org.jsbd.boss.enums;

/**
 * 网络类型
 * 
 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
 * @version 1.0.0
 */
public enum NetworkTypeEnum {
	FAIL(0, "FAIL"), P2G(1, "2G"), P3G(2, "3G"), WIFI(3, "WIFI"), UNKNOWN(4, "UNKNOWN"), CMWAP(5, "CMWAP"), CMNET(6, "CMNET"), UNIWAP(7, "UNIWAP"), UNINET(8, "UNINET"), P4G(9, "4G");
	private int type;
	private String name;

	private NetworkTypeEnum(int type, String name) {
		this.type = type;
		this.name = name;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
